package com.ruoyi.buss.grid.cj.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ruoyi.buss.grid.cj.domain.DataWgWgcjVillage;
import com.ruoyi.buss.grid.cj.domain.GridSurvey;

/**
 * 网格村居按村维度统计Mapper接口
 * 
 * @author sxy
 * @date 2021-07-16
 */
public interface DataWgWgcjVillageMapper 
{
    /**
     * 查询网格村居按村维度统计
     * 
     * @param id 网格村居按村维度统计ID
     * @return 网格村居按村维度统计
     */
    public DataWgWgcjVillage selectDataWgWgcjVillageById(String id);

    /**
     * 查询网格村居按村维度统计列表
     * 
     * @param dataWgWgcjVillage 网格村居按村维度统计
     * @return 网格村居按村维度统计集合
     */
    public List<DataWgWgcjVillage> selectDataWgWgcjVillageList(DataWgWgcjVillage dataWgWgcjVillage);

    /**
     * 新增网格村居按村维度统计
     * 
     * @param dataWgWgcjVillage 网格村居按村维度统计
     * @return 结果
     */
    public int insertDataWgWgcjVillage(DataWgWgcjVillage dataWgWgcjVillage);

    /**
     * 修改网格村居按村维度统计
     * 
     * @param dataWgWgcjVillage 网格村居按村维度统计
     * @return 结果
     */
    public int updateDataWgWgcjVillage(DataWgWgcjVillage dataWgWgcjVillage);

    /**
     * 删除网格村居按村维度统计
     * 
     * @param id 网格村居按村维度统计ID
     * @return 结果
     */
    public int deleteDataWgWgcjVillageById(String id);

    /**
     * 批量删除网格村居按村维度统计
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteDataWgWgcjVillageByIds(String[] ids);
    List<DataWgWgcjVillage> listByRoot();
    List<DataWgWgcjVillage> getWgcjSurveyList(DataWgWgcjVillage dataWgWgcjVillage);

    DataWgWgcjVillage getGridSurvey(DataWgWgcjVillage dataWgWgcjVillage);

}
